< previous page page_987 next page >

Page 987
Day 18
Answers to Day 18 Quiz
1. The Standard Data control uses the Microsoft Jet database engine to connect to databases. The Remote Data control uses a different data engine designed to connect to remote database management systems (RDBMSs).
2. Cursor drivers are the tools that manage the location of the recordset pointer in a dataset. RDO/RDC connections can use client-side or server-side cursors.
3. The four dataset types available when using RDO/RDC connections are:
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdOpenForwardOnlyCreates a read-only, scroll-forward-only dataset. This is the default option.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdOpenStaticCreates an updatable dataset that has non-changing membership.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdOpenDynamicCreates an updatable dataset that has changing membership. Record keys are not used.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdOpenKeysetCreates an updatable dataset that has changing membership. Record keys (the key set) are created to point to all members of the set. This enables you to use bookmarks with the dataset.
The five lock types you can use with RDO/RDC are:
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdConcurReadOnlyProvides no row-level locking. This is the default option.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdConcurLockProvides pessimistic locking for the entire row set. The lock occurs as soon as the data is accessednot when an edit operation begins.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdConcurRowverProvides optimistic locking based on internal row ID values (usually, the TimeStamp column).
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdConcurValuesProvides optimistic locking based on a column-by-column check of the data in each row.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· rdConcurBatchProvides optimistic locking based on the value in the UpdateCriteria property when using Batch Update mode. Not supported by all RDBMSs.
The Microsoft equivalent of the rdoResultset object is the Recordset object. The rdoResultset and the Microsoft Jet Recordset object both contain the actual collection of data records for display or update.
The RDO/RDC equivalent of the Microsoft Jet Workspace object is the rdoEnvironment object. You can use the rdoEnvironment object and the Workspace object to manage connections to multiple databases and to control transaction management.

 
< previous page page_987 next page >

If you like this book, buy it!